package com.wh.model;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

/*
 *author:徐洪昌
 *blog:http://cnblogs.com/xusir
 *datetime:2014-02-12 21:41:46
 */
public class SysDept extends BaseModel {
	private String deptName;
	@JSONField(name="text")
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	private String deptMemo;

	public String getDeptMemo() {
		return deptMemo;
	}

	public void setDeptMemo(String deptMemo) {
		this.deptMemo = deptMemo;
	}

	private String deptPid;

	public String getDeptPid() {
		return deptPid;
	}

	public void setDeptPid(String deptPid) {
		this.deptPid = deptPid;
	}

	private Date foundDate;
	 @JSONField(format = "yyyy-MM-dd")
	public Date getFoundDate() {
		return foundDate;
	}

	public void setFoundDate(Date foundDate) {
		this.foundDate = foundDate;
	}
	private List<SysDept> children;

	public List<SysDept> getChildren() {
		return children;
	}

	public void setChildren(List<SysDept> children) {
		this.children = children;
	}
	
}
